home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Risc World 5
/
Risc World 5.iso
/
SOFTWARE
/
Issue3
/
Games
/
xrick
/
!xrick
/
src
/
MakeFile_r
< prev
next >
Wrap
Makefile
|
2004-06-28
|
1KB
|
40 lines
# Makefile for RISC OS
#
# xrick/src/Makefile
#
# Copyright (C) 1998-2002 BigOrno (bigorno@bigorno.net). All rights reserved.
#
# The use and distribution terms for this software are contained in the file
# named README, which can be found in the root of this distribution. By
# using this software in any fashion, you are agreeing to be bound by the
# terms of this license.
#
# You must not remove this notice, or any other, from this software.
#
CC=gcc
CPP=gcc -E
CFLAGS= -ansi -pedantic -Wall -W -O2 -I../include -ISDL: -IZLIB: \
-DENABLE_SOUND -mthrowback
LDFLAGS=-LZLIB: -lz -LSDL: -lsdl
#
# Defs
#
#
TARGET = ../!RunImage
OBJECTS = unzip.o data.o scr_xrick.o scr_pause.o scr_imain.o scr_imap.o scr_gameover.o scr_getname.o dat_picsPC.o dat_picsST.o dat_screens.o dat_tilesPC.o dat_tilesST.o dat_maps.o dat_ents.o dat_spritesST.o dat_spritesPC.o ents.o e_bullet.o e_bomb.o e_rick.o e_sbonus.o e_them.o e_bonus.o e_box.o rects.o util.o game.o xrick.o draw.o maps.o sysvid.o syskbd.o control.o system.o scroller.o sysevt.o sysarg.o syssnd.o sysjoy.o dat_snd.o
#
# Rules
#
#
all: $(TARGET)
$(TARGET): $(OBJECTS) $(XOBJ)
$(CC) $(OBJECTS) $(XOBJ) $(LDFLAGS) -o $(TARGET)
%.o: %.c
$(CC) $(CFLAGS) -c $< -o $@